package com.cn.controller;
  
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller 
public class UserCenterController {
	//进入个人中心页面
		@RequestMapping("/userCenter")
		public String queryb(Model model) {
		 
		 	return "detail";
		}
	//点击左边导航栏,进入右边iframe框架:
		 
		//进入个人资料
		@RequestMapping("/centerData")
		public String centerData(Model model) {
		 
			return "userCenter/centerData";
		}
		
		//进入短信页面
		@RequestMapping("/centerMessage")
		public String centerMessage(Model model) {
			return "userCenter/centerMessage";
		}
		
		//进入积分明细
		@RequestMapping("/centerPoint")
		public String centerPoint(Model model) {
		
			return "userCenter/centerPoint";
		}
		
		//进入修改密码
		@RequestMapping("/centerPwd")
		public String centerPwd(Model model) {
		
			return "userCenter/centerPwd";
		}
		
		//进入我的订单
		@RequestMapping("/centerOrder")
		public String centerOrder(Model model) {
		
			return "userCenter/centerOrder";
		}
		//进入我的订单-订单详情
		@RequestMapping("/centerOrderDetails")
		public String centerOrderDetails(Model model) {
		
			return "userCenter/centerOrderDetails";
		}
		
		//进入旅游线路点评
		@RequestMapping("/centerRoadComment")
		public String centerRoadComment(Model model) {
		
			return "userCenter/centerRoadComment";
		}
		
		//进入添加管理游记攻略
		@RequestMapping("/centerAddNotes")
		public String centerAddNotes(Model model) {
		
			return "userCenter/centerAddNotes";
		}
		
		//进入游记攻略收藏页面
		@RequestMapping("/centerCollectNotes")
		public String centerCollectNotes(Model model) {
		
			return "userCenter/centerCollectNotes";
		}
}
